<?php

class StyleEditor {
	const TYPE_CSS = 0;
	
	const TYPE_UNKNOWN = -1;

	public static function getType($adress) {
		$info = pathinfo($adress);
		if(strtolower($info['extension'])==='css')
			return StyleEditor::TYPE_CSS;
		return StyleEditor::TYPE_UNKNOWN;
	}
}
